\rcube_spoofchecker

Helper class for spoofing detection.

Summary

Methods
Properties
Constants
check()
No public properties found
No constants found
No protected methods found
$results
N/A
No private methods found
No private properties found
N/A

Properties

$results

$results : array

Type

array — In-memory cache of checked domains

Methods

check()

check(string  $domain) : bool

Detects (potential) spoofing in an e-mail address or a domain.

Parameters

string $domain

Email address or domain (UTF8 not punycode)

Returns

bool —

True if spoofed/suspicious, False otherwise